@isTest
private class iFulfillRestAPITest{   
 
     static testMethod void testRestAPI(){
         PageReference pageRef = Page.ifulfillRestAPIPage;
         Test.setCurrentPage(pageRef);     
         Fullfilment_Item__c fIem  = new Fullfilment_Item__c(FI_Region_Code__c='M',Item_Id__c='8',Product_Code__c='Audio',Product_Issue__c='24',RootProcessId__c=1.0,Price_Plan_Id__c=12,Transaction_Type__c='New',Region__c='Region5',Feature_Code__c='F123');    
        insert fIem;  
        Fullfilment_Item__c fd  =  [select OwnerId,Price_Plan_Id_text__c,Product_Code__c,Item_Id__c ,  Feature_Id__c,FI_Region_Code__c, Product_Issue__c,RootProcessId__c ,LastModifiedDate, Customer_ID__c from         Fullfilment_Item__c where id = :fIem.id];  
        
        ApexPages.StandardController ctrl = new ApexPages.StandardController(fd  );
        ifulfillRestAPIController wfpage= new ifulfillRestAPIController(ctrl);
        wfpage.getResponse();
       
    }
}